<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/page" prefix="pages"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ page isELIgnored="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title><s:text name="login.title" /></title>
	<link type="text/css" href="css/forms.css" rel="stylesheet" />	
</head>
<body>
	<div class="contentContent">
		<div class="contentBox security">
			<div class="contentBoxHeader">&nbsp;</div>
			<div class="contentBoxContent">
				<div class="contentBoxContentIcon">&nbsp;</div>
				<div class="contentBoxContentText">
					<span class="content">
						    <form name="f" action="j_spring_security_check" method="post">
								
								<ul class="formList">
									<c:if test="${param.error != null}" >
										<li class="error">
											<c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}" />
										</li>
									</c:if> 
									<c:if test="${param.logout != null}" >
										<li class="warning">
											<s:text name="login.loggedout" />
										</li>
									</c:if>
									<li class="info">
										<s:text name="login.info" />
									</li>
									
									<li >
										<s:label value="%{getText('login.user')}" />
										<input type='text' name='j_username' value="${SPRING_SECURITY_LAST_USERNAME}" />
									</li>
									<li >
										<s:label value="%{getText('login.password')}" />
										<input type='password' name='j_password'/>
									</li>
									<li >
										<s:label value="%{getText('login.remember')}" />
										<input type="checkbox" name="_spring_security_remember_me"/>
									</li>
									<li class="submit">
										<input name="submit" type="submit" value="<s:text name="login.submit"/>" />
									</li>
								</ul>									
					    </form>
					</span>
				</div>			
				<div class="globalWrap">&nbsp;</div>
			</div>
			<div class="contentBoxFooter">&nbsp;</div>
		</div>
	</div>
</body>	